CSE 505: Class Notes on Semantics of Logic Programs

ثبت نشده
چکیده

A program P where no clause body contains a negative literal is called a definite program. In other words, if every clause in a program is a Horn clause, then it is a definite program. The least model of a definite logic program P can be computed as the least fixed point of the immediate consequence operator, TP of P defined as follows. Definition 1 Let M ⊆ P be a set of propositions. Then M ′ = TP(M), the immediate consequence of M is the least set such that: • p ∈M ′ if p ∈M • p ∈M ′ if p :− q1, q2, . . . qn ∈ P and for all 1 ≤ i ≤ n, qi ∈M . In other words, given the propositions that are true (in M) TP computes the set of propositions whose truth follows from the program P.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Sound and Complete SLD-Resolution for Bilattice-Based Annotated Logic Programs

We introduce the class of normal bilattice-based annotated first-order logic programs (BAPs) and develop declarative and operational semantics for them. In particular, SLD-resolution for these programs is defined and its soundness and completeness established.

متن کامل

Operational Semantics for Functional Logic Languages

In this work we provide a semantic description of functional logic languages covering notions like laziness, sharing, and non-determinism. Such a semantic description is essential, for instance, to have appropriate language definitions in order to reason about programs and check the correctness of implementations. First, we define a “big-step” semantics in natural style to relate expressions an...

متن کامل

Operational Semantics for Reexecution-based Analysis of Logic Programs with Delay Declarations

We draw concrete and abstract operational semantics towards the analysis of logic programs with delay declarations. This is the basis to generalize the abstract interpreter GAIA to deal with logic programs employing dynamic scheduling. The concrete and abstract semantics are introduced explicitly and express both deadlock information and qualified answers. Sure deadlock and sure no deadlock inf...

متن کامل

Stable Generated Models of Generalized Constraint Logic Programs

We present a declarative semantics of generalized constraint logic programs based on stable generated models. Generalized logic programs contain arbitrary quantiier free formulas in the bodies and heads of their rules. Up to now the only declarative semantics for this program class is deened in terms of stable generated models introduced by Herre and Wagner. A generalized constraint logic progr...

متن کامل

Characterizations and Implementation of Static Semantics of Disjunctive Programs Characterizations and Implementation of Static Semantics of Disjunctive Programs

Recently, considerable interest and research eeort has been given to the problem of nding a suitable extension of the logic programming paradigm beyond the class of normal logic programs. In order to demonstrate that a class of programs can be justiiably called an extension of logic programs one should be able to argue that: the proposed syntax of such programs resembles the syntax of logic pro...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001